import { createRouter, createWebHashHistory } from 'vue-router';
//路由实例
import routes from './routerConfig'

const router = new createRouter({
  history: createWebHashHistory(),
  routes,
})

router.beforeEach((to, from, next)=>{
  next();
})

export default router;